package com.kaikai.edu.service;

import com.kaikai.edu.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kaikai.edu.entity.chapter.ChapterVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author yujiankai
 * @since 2021-05-14
 */
public interface EduChapterService extends IService<EduChapter> {

    List<ChapterVo> getChapterVideo(String courseId);

    boolean deleteChapter(String courseId);

    void deleteChapterByCourseId(String courseId);


}
